
<div class="container" id="log-in-container">
  <div id="page-content">
    <h2 class="text-center mt-4" id="log-in-text">Log in</h2>
      <div class="row justify-centent-center" id="log-in-form" >
        <div class="col-12" id="log-in-box">
        <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
          <div class="field">
            <%= f.label :email %><br />
            <%= f.email_field :email, autofocus: true, autocomplete: "email" %>
          </div>

          <div class="field">
            <%= f.label :password %><br />
            <%= f.password_field :password, autocomplete: "current-password" %>
          </div>

          <% if devise_mapping.rememberable? %>
            <div class="field">
              <%= f.check_box :remember_me %>
              <%= f.label :remember_me %>
            </div>
          <% end %>

          <div class="">
          <%= f.submit "Log in", class: "btn btn-info"%>
            <%= render "devise/shared/links" %>
          </div>
        <% end %>
      </div>
    </div>
  </div>
</div>


